<!DOCTYPE html>
<html class="no-js">
<head>
	<meta charset="utf-8">
	<title>{BEESCRM:$title}</title>
	<meta name="description" content="">
	<meta name="HandheldFriendly" content="True">
	<meta name="MobileOptimized" content="320">
	<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui, user-scalable=no">
	<meta http-equiv="cleartype" content="on">
	<meta name="format-detection" content="telephone=no">

	<link rel="stylesheet" type="text/css" href="/assets/base/center/css/common.css">
	<link rel="stylesheet" type="text/css" href="/assets/base/center/css/index.css">
	<link rel="stylesheet" type="text/css" href="/assets/base/center/css/font.css">
	<link rel="stylesheet" type="text/css" href="/assets/base/center/css/swiper.min.css">
</head>
<body>
	<div class="wraper center">
		<!-- <div><img src="/assets/base/center/images/server.jpg"/></div> -->
		<div><img src="/assets/base/center/images/life.jpg"/></div>
		<!-- <div><img src="/assets/base/center/images/mall.jpg"/></div> -->
		<div class="menu clearfix">
			<volist name="data.menu" id="vo">
				<a href="{BEESCRM:$vo.url}" class="menu-list tb-mode third pull-left">
					<p class="tb-cell">
						<span class="circle {BEESCRM:$vo.color}">
							<span class="{BEESCRM:$vo.icon}"></span>
							<if condition="$vo['status'] eq 1"><span class="new"></span></if>
						</span>
						<span>{BEESCRM:$vo.name}</span>
					</p>
					<if condition="$vo['develop'] eq 1"><span class="develop">开发中</span></if>
				</a>
			</volist>
			<if condition="$data['count'] lt 6">
				<a href="#" class="menu-list tb-mode third pull-left">
					<p class="tb-cell">
						<span class="circle">
							<span class="iconfont icon-sangedian forword-text"></span>
						</span>
						<span class="forword-text">敬请期待</span>
					</p>
				</a>
			</if>
		</div>

	<!--<div class="menu clearfix">
		<volist name="data.menu" id="vo">
		<a href="{BEESCRM:$vo.url}/wechat_id/{BEESCRM:$wechat_id}" class="menu-list tb-mode square pull-left">
			<p class="tb-cell">
				<span class="{BEESCRM:$vo.icon}"></span>
				<span>{BEESCRM:$vo.name}</span>
				<if condition="$vo['status'] eq 1"><span class="iconfont icon-new"></span></if>
			</p>
		</a>
		</volist>
	</div>-->
	<!--<a href="{BEESCRM::U('/base/center/center',array('wechat_id'=>$wechat_id))}" class="btn-go">前往微服务 >></a>-->
	<div class="banner margin-top border-banner">
		<div class="swiper-container">
			<div class="swiper-wrapper">
			<!--<volist name="data.news" id="vo">
				<div class="swiper-slide"><a href="{BEESCRM::U('website/website/detail',array('news_id'=>$vo['news_id'],'account_id'=>$account_id))}"><p class="title">{BEESCRM:$vo['title']}</p><img src="{BEESCRM:$vo['picture']}"></a></div>
			</volist>-->
			<if condition="count($adInfo) egt 1">
				<volist name="adInfo" id="vo">
					<div class="swiper-slide"><a href="{BEESCRM:$vo.url}">{BEESCRM:$vo.content}</a></div>
				</volist>
				<else/>
					<if condition="$account_id neq 10">
						<div><a href="javascript:void(0);"><img src="/assets/base/center/images/adds.jpg"></a></div>
					</if>	
			</if>
			<!--<div class="swiper-slide"><a href="#"><img src="/assets/base/center/images/adds.jpg"></a></div>-->
			</div>
			<!--<if condition="data.newsCount gt 1"><div class="swiper-pagination hasTitle"></div></if>-->
			<div class="swiper-pagination"></div>
		</div>
	</div>
	<if condition="$account_id neq 10" >
		<div class="bottom-box">
			<p class="copyright" style="bottom: 34px;">杭州青橄榄网络技术有限公司 技术支持</p>
		</div>
	</if>
</div>
<script src="/assets/base/center/js/jquery-2.1.0.min.js"></script>
<script src="/assets/base/center/js/swiper.min.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<include file="share_header" />
<script>
	var height = $(window).height();
	var bottombox_height = $('.bottom-box').outerHeight();
	$('.wraper').css("minHeight",height);
	$('.wraper').css("paddingBottom",bottombox_height);

	var swiper = new Swiper('.banner .swiper-container', {
		<if condition="count($adInfo) gt 1">
		pagination: '.banner .swiper-pagination',
		</if>
paginationClickable: true,
spaceBetween: 30,
centeredSlides: true,
autoplay: 2500,
autoplayDisableOnInteraction: false
});

	//调起二维码扫一扫
	$(document).on('click','.qrcode',function(){
		wx.scanQRCode({
			needResult: 0, // 默认为0，扫描结果由微信处理，1则直接返回扫描结果，
			scanType: ["qrCode","barCode"], // 可以指定扫二维码还是一维码，默认二者都有
			success: function (res) {
				var result = res.resultStr; // 当needResult 为 1 时，扫码返回的结果
			}
		});
	});
</script>
</body>
</html>
